package com.metel.mservice.common.faultcode;

public interface ChatONOpenAPIFaultCode {

	/* ChatON Open API Server - common code */
	public final static String COMMON_ACCESS_KEY_IS_MANDATORY = "COP-00001";
	public final static String COMMON_ACCESS_KEY_IS_INVALID = "COP-00002";
	public final static String COMMON_ACCESS_TOKEN_IS_MANDATORY = "COP-00003";
	public final static String COMMON_ACCESS_TOKEN_IS_INVALID = "COP-00004";
	public final static String COMMON_NON_EXISTENT_USER_IN_CHATON_SERVICE = "COP-00005";
	public final static String COMMON_APP_CHATON_ID_IS_REQUIRED_FOR_THIS_ACCOUNT = "COP-00006";
	public final static String COMMON_APP_CHATON_ID_IS_INVAILD = "COP-00007";
	public final static String REQUEST_PAYLOAD_FIELDS_DONT_EXIST = "COP-00800";
	public final static String INTERNAL_SERVER_ERROR = "COP-00900";
	public final static String PAGE_NOT_FOUND = "COP-00910";
//	public final static String UNKNOWN_ERROR_OCCURRED = "COP-00911";
	
	/* ChatON Open API Server - SMS/ACS authentication */
	public final static String AUTHENTICATE_PLATFORM_IS_MANDATORY = "COP-00201";
	public final static String AUTHENTICATE_PLATFORM_IS_INVALID = "COP-00202";
	public final static String AUTHENTICATE_COUNTRY_CALLING_CODE_IS_MANDATORY = "COP-00203";
	public final static String AUTHENTICATE_COUNTRY_CALLING_CODE_IS_INVALID = "COP-00204";
	public final static String AUTHENTICATE_PHONENUMBER_IS_MANDATORY = "COP-00205";
	public final static String AUTHENTICATE_PHONENUMBER_IS_INVALID = "COP-00206";
	public final static String AUTHENTICATE_DID_IS_MANDATORY = "COP-00207";
	public final static String AUTHENTICATE_DID_IS_INVALID = "COP-00208";
	public final static String AUTHENTICATE_LANG_IS_MANDATORY = "COP-00209";
	public final static String AUTHENTICATE_LANG_IS_INVALID = "COP-00210";
	public final static String AUTHENTICATE_IMSI_IS_MANDATORY = "COP-00211";
	public final static String AUTHENTICATE_IMSI_IS_INVALID= "COP-00212";
	public final static String AUTHENTICATE_TOKEN_IS_MANDATORY = "COP-00213";
	public final static String AUTHENTICATE_AUTHNUM_IS_MANDATORY = "COP-00214";
	public final static String AUTHENTICATE_SMS_VALIDATION_IS_MANDATORY = "COP-00220";
	public final static String AUTHENTICATE_SMS_VALIDATION_NOT_MATCHED = "COP-00221";
	public final static String AUTHENTICATE_SMS_VALIDATION_TIMEOUT = "COP-00222";
	public final static String AUTHENTICATE_PROCESS_ONGOING = "COP-00223";
	public final static String AUTHENTICATE_TRY_NUM_EXCEEDS_MAX = "COP-00224";
	public final static String AUTHENTICATE_EXPIRED = "COP-00225";
	
	public final static String AUTHENTICATE_APP_ID_MANDATORY = "COP-00226";
	public final static String AUTHENTICATE_APP_SECRET_MANDATORY = "COP-00227";
	public final static String AUTHENTICATE_ADMIN_ACCESS_TOKEN_MANDATORY = "COP-00228";
	public final static String AUTHENTICATE_ADMIN_GUID_MANDATORY = "COP-00229";
	
	/* ChatON Open API Server - get my buddies */
	public final static String GET_MY_BUDDIES_OFFSET_IS_ONLY_NUMBER = "COP-10101";
	public final static String GET_MY_BUDDIES_COUNT_IS_ONLY_NUMBER = "COP-10102";
	public final static String GET_MY_BUDDIES_MODE_IS_INVALID = "COP-10103";
	
	/* ChatON Open API Server - add buddy */
	public final static String ADD_A_BUDDY_CHATON_ID_IS_MANDATORY = "COP-10201";
	public final static String ADD_A_BUDDY_CAN_NOT_ADD_YOURSELF_AS_A_BUDDY = "COP-10202";
	public final static String ADD_A_BUDDY_ALREADY_ADDED_BUDDY = "COP-10203";
	public final static String ADD_A_BUDDY_ALREADY_ADDED_BLOCK_BUDDY = "COP-10204";
	public final static String ADD_A_BUDDY_CHATONID_IS_INVALID = "COP-10205";
	public final static String ADD_A_BUDDY_CHATONIDS_USER_DOESNT_EXIST = "COP-10206";
	
	/* ChatON Open API Server - get a user's profile */
	public final static String GET_A_USERS_PROFILE_CHATONID_IS_MANDATORY = "COP-10301";
	public final static String GET_A_USERS_PROFILE_CHATONIDS_USER_DOESNT_EXIST = "COP-10302";
	public final static String GET_A_USERS_PROFILE_BUDDY_IS_BLOCKED = "COP-10303";
	
	/* ChatON Open API Server - get a user's profile image */
	public final static String GET_A_USERS_PROFILEIMAGE_SIZE_ASSIGNMENT = "COP-10401";
	public final static String GET_A_USERS_PROFILEIMAGE_SIZE_IS_ONLY_NUMBER = "COP-10402";
	public final static String GET_A_USERS_PROFILEIMAGE_CHATONID_IS_MANDATORY = "COP-10403";
	public final static String GET_A_USERS_PROFILEIMAGE_CHATONIDS_USER_HASNOT_PROFILEIMAGE = "COP-10404";
	public final static String GET_A_USERS_PROFILEIMAGE_CHATONIDS_USER_DOESNT_EXIST = "COP-10405";
	/* ChatON Open API Server - check a user's join status */
	public final static String CHECK_A_USERS_JOINSTATUS_CHECKVALUE_IS_MANDATORY = "COP-10501";
	public final static String CHECK_A_USERS_JOINSTATUS_CHECKVALUE_IS_INVALID = "COP-10502";
	
	/* ChatON Open API Server - Upload Address List */
	public final static String UPLOAD_ADDRESS_LIST_MODE_IS_MANDATORY = "COP-10601";
	public final static String UPLOAD_ADDRESS_LIST_MODE_IS_INVALID = "COP-10602";
	public final static String UPLOAD_ADDRESS_LIST_JSONDATA_IS_NOT_VALID = "COP-10603";
	public final static String UPLOAD_ADDRESS_LIST_STARTIDX_IS_ONLY_BUMBER = "COP-10604";
	public final static String UPLOAD_ADDRESS_LIST_COUNT_IS_ONLY_BUMBER = "COP-10605";
	
	/* ChatON Open API Server - Check my device’s join status (Samsung C&S Portal only) */
	public final static String CHECK_MY_DEVICE_JOIN_STATUS_DEVICEINFO_IS_MANDATORY = "COP-10801";
	public final static String CHECK_MY_DEVICE_JOIN_STATUS_IDX_IS_MANDATORY = "COP-10802";
	public final static String CHECK_MY_DEVICE_JOIN_STATUS_IDX_IS_INVALID = "COP-10803";
	public final static String CHECK_MY_DEVICE_JOIN_STATUS_VALUE_IS_MANDATORY = "COP-10804";
	public final static String CHECK_MY_DEVICE_JOIN_STATUS_VALUE_IS_INVALID = "COP-10805";
	
	
	/* ChatON Open API Server - Start a chat */
	public final static String START_CHAT_RECEIVER_IS_MANDATORY = "COP-20001";
	public final static String START_CHAT_INVALID_RECEIVER = "COP-20002";
	public final static String START_CHAT_CHATTYPE_IS_MANDATORY = "COP-20003";
	public final static String START_CHAT_CHATTYPE_IS_INVALID = "COP-20004";
	public final static String START_CHAT_CHATMSG_IS_MANDATORY = "COP-20005";
	public final static String START_CHAT_CHATMSG_LENGTH_EXCEED = "COP-20006";
	public final static String START_CHAT_MSGTYPE_IS_INVALID = "COP-20007";
	public final static String START_CHAT_NOT_REGISTERED_RECEIVER = "COP-20008";
	
	public final static String START_CHAT_MSG_OPTION_IS_REQUIRED_FOR_SPECIAL_MESSAGE ="COP-20009";
	public final static String START_CHAT_MSG_OPTION_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20010";
	public final static String START_CHAT_APP_ID_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20011";
	public final static String START_CHAT_APP_ID_IS_INVALID = "COP-20012";
	public final static String START_CHAT_APP_NAME_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20014";
	public final static String START_CHAT_APP_VERSION_IS_INVALID = "COP-20016";
	public final static String START_CHAT_OS_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20017";
	public final static String START_CHAT_OS_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20018";
	public final static String START_CHAT_DEVICETYPE_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20019";
	public final static String START_CHAT_DEVIETYPE_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20020";
	public final static String START_CHAT_INSTALLURL_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20021";
	public final static String START_CHAT_EXECUTEURL_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20023";
	
	
	
	/* ChatON Open API Server - Normal chat */
	public final static String NORMAL_CHAT_SESSIONID_IS_MANDATORY = "COP-20101";
	public final static String NORMAL_CHAT_CHATMSG_IS_MANDATORY = "COP-20102";
	public final static String NORMAL_CHAT_CHATMSG_LENGTH_EXCEED = "COP-20103";
	public final static String NORMAL_CHAT_SESSIONID_IS_INVALID = "COP-20104";
	public final static String NORMAL_CHAT_NON_EXISTENT_CHATMEMBERS = "COP-20105";
	public final static String NORMAL_CHAT_MSGTYPE_IS_INVALID = "COP-20106";
	//public final static String NORMAL_CHAT_MERGE_TIMESTAMP_IS_MANDATORY = "COP-20107";
	public final static String NORMAL_CHAT_MERGE_TIMESTAMP_IS_INVALID = "COP-20107";
	
	public final static String NORMAL_CHAT_MSG_OPTION_IS_REQUIRED_FOR_SPECIAL_MESSAGE ="COP-20108";
	public final static String NORMAL_CHAT_MSG_OPTION_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20109";
	public final static String NORMAL_CHAT_APP_ID_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20110";
	public final static String NORMAL_CHAT_APP_ID_IS_INVALID = "COP-20111";
	public final static String NORMAL_CHAT_APP_NAME_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20113";
	public final static String NORMAL_CHAT_APP_VERSION_IS_INVALID = "COP-20115";
	public final static String NORMAL_CHAT_OS_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20116";
	public final static String NORMAL_CHAT_OS_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20117";
	public final static String NORMAL_CHAT_DEVICETYPE_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20118";
	public final static String NORMAL_CHAT_DEVIETYPE_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-20119";
	public final static String NORMAL_CHAT_INSTALLURL_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20120";
	public final static String NORMAL_CHAT_EXECUTEURL_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-20122";
	
	
	/* ChatON Open API Server - End a chat */
	public final static String END_CHAT_SESSIONID_IS_MANDATORY = "COP-20201";
	public final static String END_CHAT_SESSIONID_IS_INVALID = "COP-20202";
	//public final static String END_CHAT_MERGE_TIMESTAMP_IS_MANDATORY = "COP-20203";
	public final static String END_CHAT_MERGE_TIMESTAMP_IS_INVALID = "COP-20203";
	public final static String END_CHAT_NON_EXISTENT_CHATMEMBERS = "COP-20205";	//문서에는 없음. 실제 사용되지 않아서 문서에는 삭제되었으나 코드에 존재하므로 마지막 코드로 할당.
	public final static String END_CHAT_NO_RECEIVER_EXISTS = "COP-20206";		//문서에는 없음. 실제 사용되지 않아서 문서에는 삭제되었으나 코드에 존재하므로 마지막 코드로 할당.
	
	/* ChatON Open API Server - Invite to a chat */
	public final static String INVITE_CHAT_SESSIONID_IS_MANDATORY = "COP-20301";
	public final static String INVITE_CHAT_SESSIONID_IS_INVALID = "COP-20302";
	public final static String INVITE_CHAT_NON_EXISTENT_CHATMEMBERS = "COP-20303";
	public final static String INVITE_CHAT_INVITING_MEMBERS_MANDATORY = "COP-20304";
	public final static String INVITE_CHAT_INVALID_INVITING_MEMBER = "COP-20305";
	public final static String INVITE_CHAT_NO_RECEIVER_EXISTS = "COP-20306";
	public final static String INVITE_CHAT_NOT_REGISTERED_RECEIVER = "COP-20307";
	//public final static String INVITE_CHAT_MERGE_TIMESTAMP_IS_MANDATORY = "COP-20308";
	public final static String INVITE_CHAT_MERGE_TIMESTAMP_IS_INVALID = "COP-20308";

	/* ChatON Open API Server - Push notification */
	public final static String PUSH_NOTIFICATION_PUSH_IDLE_TIMEOUT = "COP-20401";
	public final static String PUSH_NOTIFICATION_INVALID_REQUEST_PUSH_CONNECTION = "COP-20402";
	public final static String PUSH_NOTIFICATION_MODE_IS_INVALID = "COP-20403";
	public final static String PUSH_NOTIFICATION_SESSIONID_IS_INVALID = "COP-20404";
	
	/* ChatON Open API Server - Get members of a chatroom */
	public final static String GET_MEMBERS_IN_CHATROOM_SESSIONID_IS_MANDATORY = "COP-20601";
	public final static String GET_MEMBERS_IN_CHATROOM_SESSIONID_IS_INVLAID = "COP-20602";

	/* ChatON Open API Server - Get messages after a specific time in a chat room */
	public final static String GET_MESSAGES_SESSIONID_IS_MANDATORY = "COP-20901";
	public final static String GET_MESSAGES_SESSIONID_IS_INVLAID = "COP-20902";
	public final static String GET_MESSAGES_TID_IS_MANDATORY = "COP-20903";
	
	/* ChatON Open API Server - Check status of a message corresponding with a specific message’s id */
	public final static String CHECK_STATUS_OF_A_MESSAGE_SESSIONID_IS_MANDATORY = "COP-20801";
	public final static String CHECK_STATUS_OF_A_MESSAGE_SESSIONID_IS_INVLAID = "COP-20802";
	public final static String CHECK_STATUS_OF_A_MESSAGE_MSGID_IS_MANDATORY = "COP-20803";
	public final static String CHECK_STATUS_OF_A_MESSAGE_MSGID_IS_INVLAID = "COP-20804";
	
	/* ChatON Open API Server - Send to Chaton */
	public final static String SENDTOCHATON_RECEIVER_IS_MANDATORY = "COP-21001";
	public final static String SENDTOCHATON_INVALID_RECEIVER = "COP-21002";
	public final static String SENDTOCHATON_CHAT_MESSAGE_IS_MANDATORY = "COP-21003"; 
	public final static String SENDTOCHATON_CHAT_MESSAGE_LENGTH_IS_EXCEED = "COP-21004"; 
	public final static String SENDTOCHATON_MSG_TYPE_IS_INVALID = "COP-21005"; 
	public final static String SENDTOCHATON_THE_RECEIVER_IS_NOT_REGISTERED_IN_THIS_APPLICATION = "COP-21006"; //(NOTE: 브로드캐스트일 경우에는 발생하지 않는다.) - sendtochaton은 chattype 2(브로드캐스트)이므로 발생하진 않는다.
	public final static String SENDTOCHATON_MSG_OPTION_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21007";
	public final static String SENDTOCHATON_MSG_OPTION_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-21008"; 
	public final static String SENDTOCHATON_APP_ID_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21009"; 
	public final static String SENDTOCHATON_APP_ID_IS_INVALID = "COP-21010"; 
	public final static String SENDTOCHATON_APP_NAME_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21021"; 
	public final static String SENDTOCHATON_APP_NAME_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-21011"; 
	public final static String SENDTOCHATON_APP_VERSION_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21022"; 
	public final static String SENDTOCHATON_APP_VERSION_IS_INVALID = "COP-21013"; 
	public final static String SENDTOCHATON_OS_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21014"; 
	public final static String SENDTOCHATON_OS_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-21015"; 
	public final static String SENDTOCHATON_DEVICETYPE_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21016"; 
	public final static String SENDTOCHATON_DEVIETYPE_IS_INVALID_FOR_SPECIAL_MESSAGE = "COP-21017"; 
	public final static String SENDTOCHATON_INSTALLURL_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21018"; 
	public final static String SENDTOCHATON_EXECUTEURL_IS_REQUIRED_FOR_SPECIAL_MESSAGE = "COP-21020"; 
	public final static String SENDTOCHATON_THE_REQUEST_HAS_BEEN_REFUSED_DUE_TO_API_CALL_LIMITS = "COP-00000"; //세션서버에서 체크
	
	/* ChatON Open API Server - UploadFile */
	public final static String UPLOADFILE_FILE_NAME_IS_MANDATORY = "COP-30001";
	public final static String UPLOADFILE_FILE_IS_EMPTY = "COP-30002";
	public final static String UPLOADFILE_FILE_TYPE_IS_NOT_SUPPORTED = "COP-30003";
	public final static String UPLOADFILE_FILE_NO_MATCH_FORMAT = "COP-30004";
	public final static String UPLOADFILE_READ_TIME_OUT = "COP-30005";
	public final static String UPLOADFILE_FILE_SIZE_EXCEEDS_LIMIT = "COP-30006";
	
	/* ChatON Open API Server - DownloadFile */
    public final static String DOWNLOADFILE_CHATON_ID_IS_MANDATORY = "COP-30100";
	public final static String DOWNLOADFILE_CHATON_ID_IS_INVALID = "COP-30101";
	public final static String DOWNLOADFILE_FIL_NAME_IS_MANDATORY = "COP-30102";
	public final static String DOWNLOADFILE_FILE_NO_EXIST = "COP-30103";
	public final static String DOWNLOADFILE_FILE_IS_TOO_LARGE = "COP-30104";
	public final static String DOWNLOADFILE_COULD_NOT_COMPLETELY_READ_FILE = "COP-30105";
	public final static String DOWNLOADFILE_PLATFORM_IS_MANDATORY = "COP-30106";
	public final static String DOWNLOADFILE_PLATFORM_IS_INVALID = "COP-30107";
	public final static String DOWNLOADFILE_FILE_SIZE_IS_INVALID = "COP-30108";
	public final static String DOWNLOADFILE_TYPE_IS_MANDATORY = "COP-30109";
	public final static String DOWNLOADFILE_TYPE_IS_INVALID = "COP-30110";
	public final static String DOWNLOADFILE_FILESERVER_IS_MANDATORY = "COP-30111";
	public final static String DOWNLOADFILE_FILESERVER_IS_INVALID = "COP-30112";

	/* ChatON Open API Server - Register for a ChatON User using a 3rd Party Application */
	public final static String REG3RDPARTY_NICKANME_IS_MANDATORY = "COP-00501";
	public final static String REG3RDPARTY_DUPLICATED_REG_NOT_ALLOWED = "COP-00502";
	
	/* ChatON Open API Server - Register for a ChatON User using a 3rd Party Application on Device*/
	public final static String REG3RDPARTYDEVICE_NICKANME_IS_MANDATORY = "COP-00601";
	public final static String REG3RDPARTYDEVICE_DUPLICATED_REG_NOT_ALLOWED = "COP-00602";
	public final static String REG3RDPARTYDEVICE_MSISDN_IS_INVALID = "COP-00603";
	public final static String REG3RDPARTYDEVICE_PUSH_REGISTRATION_ID_IS_MANDATORY = "COP-00604";
	public final static String REG3RDPARTYDEVICE_PUSH_REGISTRATION_ID_IS_INVLID = "COP-00605";
	public final static String REG3RDPARTYDEVICE_PUSH_TYPE_IS_MANDATORY = "COP-00606";
	public final static String REG3RDPARTYDEVICE_PUSH_TYPE_IS_INVALID = "COP-00607";
	public final static String REG3RDPARTYDEVICE_IMEI_IS_MANDATORY = "COP-00608";
	public final static String REG3RDPARTYDEVICE_IMEI_IS_INVALID = "COP-00609";
	public final static String REG3RDPARTYDEVICE_OSVERSION_IS_MANDATORY = "COP-00610";
	public final static String REG3RDPARTYDEVICE_OSVERSION_IS_INVALID = "COP-00611";
	public final static String REG3RDPARTYDEVICE_COUNTRYCALLINGCODE_IS_INVALID = "COP-00612";
	public final static String REG3RDPARTYDEVICE_PHONENUMBER_IS_INVALID = "COP-00613";
	public final static String REG3RDPARTYDEVICE_NICKNAME_NOT_PROVIDED_FROM_SAMSUNG_ACCOUNT = "COP-00614";
	
	
	/* ChatON Open API Server - SMS Auth Status Application */
	public final static String SMS_AUTH_STATUS_IS_MSISDN_MANDATORY = "COP-00101";
	public final static String SMS_AUTH_STATUS_IS_MSISDN_INVALID = "COP-00102";
	
	/* ChatON Open API Server - Black Buddy Application */
	public final static String ADD_A_BLACK_IS_USERID_MANDATORY = "COP-10901";
	public final static String ADD_A_BLACK_IS_INVALID_USERID_EXIST = "COP-10902";
	
	/* ChatON Open API Server - Update My Profile Image */
	public final static String UPDATE_MY_PROFILE_IMAGE_NOT_EXIST = "COP-11701";
	public final static String UPDATE_MY_PROFILE_FILE_NAME_IS_MANDATORY = "COP-11702";
	public final static String UPDATE_MY_PROFILE_FILE_TYPE_IS_NOT_SUPPORTED = "COP-11703";
	public final static String UPDATE_MY_PROFILE_NO_MATCH_FORMAT = "COP-11704";
	public final static String UPDATE_MY_PROFILE_READ_TIME_OUT = "COP-11705";
	public final static String UPDATE_MY_PROFILE_FILE_SIZE_EXCEEDS_LIMIT = "COP-11706";

	
	/* ChatON Open API Server - Dereg Chaton Device */
	public final static String DEREG_CHATONDEVICE_GUID_MANDATORY = "COP-00701";
	public final static String DEREG_CHATONDEVICE_IMEI_MANDATORY = "COP-00702";
	public final static String DEREG_CHATONDEVICE_IMEI_INVALID = "COP-00703";
	public final static String DEREG_CHATONDEVICE_REQ_NOT_AVAILABLE = "COP-00704";
	public final static String DEREG_CHATONDEVICE_GUID_INVALID = "COP-00705";
	public final static String DEREG_CHATONDEVICE_NO_DEVICE_FOUND = "COP-00706";
	
	/* Add a user to white list - SCS client Only in case invoke  black user add */
	public final static String ADD_A_USER_TOWHITELIST_DUPLICATE_BLACK_USER = "COP-10903";
	
	

}
